<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 
<%@ page import="org.jamwiki.model.*" %>
<%@ include file="include.jsp"%>
<%
List topicList = (List)request.getAttribute("items");
String title = request.getAttribute("title")+"";

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	 <style type="text/css">
	 body{
	  width:100%;
	  height:100%;
	 }
	 </style>
  </head>
  <body   leftmargin="0"  topmargin="0"  marginwidth="0" marginheight="0">
    <table width="100%" height="100%" align="center" border="0" cellpadding="0" cellspacing="0" class="table-lr">
    <tr> 
      <td  align="center" valign="top" bgcolor="#FFFFFF" id="main">
      <table width="96%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="36" align="left" valign="bottom" background="<%=imagePath %>right-bg.gif">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="0" class="word-orange">&nbsp;</td>
                <td width="98%" align="left" class="word-orange">您所在位置：博客首页 &gt; 分类列表 &gt; <%=title %> </td>
              </tr>
           
		</table>
            </td>
        </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><img src="<%=imagePath %>right-line.gif" width="96%" height="9" /></td>
          </tr>
        </table>
        <table width="100%" height="8" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td></td>
          </tr>
        </table>
        <table width="96%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="27%" align="left">搜索：
              <label>
              <input name="textfield" type="text" class="input" />
              <img src="<%=imagePath %>ico-search.gif" width="17" height="17" align="absmiddle" /></label></td>
            <td width="2%" align="center"><img src="<%=imagePath %>right-line02.gif" width="2" height="16" /></td>
            <td width="9%" align="center"><img src="<%=imagePath %>b-write.gif" width="48" height="18" /></td>
            <td width="2%" align="center"><img src="<%=imagePath %>right-line02.gif" width="2" height="16" /></td>
            <td width="60%" align="right"><a href="<%=basePath %>en/Special:PublicList" class="txt-blue"><strong>已发布主题</strong></a>&nbsp;  |  &nbsp;<a href="<%=basePath %>en/Special:NonPublicList">未发布主题</a></td>
          </tr>
        </table>
        <table width="96%" height="8" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td></td>
          </tr>
        </table>
        <table width="96%" border="0" cellpadding="0" cellspacing="1" bgcolor="#dddddd">
          <tr>
            
            <td width="5%" align="center" bgcolor="#FFFFFF" class="table-title">序号</td>
            <td width="52%" align="center" bgcolor="#FFFFFF" class="table-title">知识标题</td>
            <td width="8%" align="center" bgcolor="#FFFFFF" class="table-title">作者</td>
            <td width="11%" align="center" bgcolor="#FFFFFF" class="table-title">创建时间</td>
            <td width="6%" align="center" bgcolor="#FFFFFF" class="table-title">收藏</td>
            <td width="6%" align="center" bgcolor="#FFFFFF" class="table-title">管理</td>
          </tr>
          <%if(null != topicList&&topicList.size()>0){
        	  for(int i = 0;i<topicList.size();i++){
        	      Topic t = (Topic)topicList.get(i);
        	  %> 
          <tr class="table-tr1">
            
            <td align="center" bgcolor="#FFFFFF" class="table-tr1"><%=i+1 %></td>
            <td align="left" bgcolor="#FFFFFF" class="table-tr1"><a href="content.html"><%=t.getSimpleName() %></a></td>
            <td align="left" bgcolor="#FFFFFF" class="table-tr1"><%=t.getAuthor() %></td>
            <td align="left" bgcolor="#FFFFFF" class="table-tr1"><%=t.getCreateDate() %></td> 
            <td align="center" bgcolor="#FFFFFF" class="table-tr1"><img src="<%=imagePath %>ico-shoucang.gif" width="15" height="13" /></td>
            <td align="center" bgcolor="#FFFFFF" class="table-tr1"><img src="<%=imagePath %>ico-mang.gif" width="16" height="15" /></td>
          </tr> 
          
          <%}}else{ %>
          <tr>
            
            <td colspan=6 align="center" bgcolor="#FFFFFF" class="table-title">没有记录</td>
             
          </tr>
          
          <%} %>
        </table>
        <table width="96%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="4%" background="<%=imagePath %>right-pagebg.jpg">&nbsp;</td>
            <td width="96%" height="30" align="left" background="<%=imagePath %>right-pagebg.jpg">共203条&nbsp;&nbsp;&nbsp;&nbsp;   每页16条&nbsp;&nbsp; &nbsp;&nbsp;页次1/13    &nbsp;&nbsp;&nbsp;&nbsp;首页&nbsp;&nbsp;&nbsp;&nbsp;   上一页   &nbsp;&nbsp;&nbsp;&nbsp;下一页&nbsp;&nbsp;&nbsp;&nbsp;   尾页   &nbsp;&nbsp;&nbsp;&nbsp;转到
              <select name="select" class="txt-gray">
                  <option>第1页</option>
                  <option>第2页</option>
              </select></td>
          </tr>
        </table></td>
    </tr>
  </table>
  </body>
</html>
